/**
 * 
 */
package net.sf.cldsql.dj.mvc;

import java.util.Enumeration;

import javax.servlet.http.HttpSession;

/**
 * DiSession
 */
public class DiSessionServletImpl implements DiSession {
    HttpSession httpSession;
    
    public DiSessionServletImpl(HttpSession httpSession) {
        this.httpSession = httpSession;
    }

    public long getCreationTime() {
        return httpSession.getCreationTime();
    }

    public String getId() {
        return httpSession.getId();
    }

    public long getLastAccessedTime() {
        return httpSession.getLastAccessedTime();
    }

    public void setMaxInactiveInterval(int paramInt) {
        httpSession.setMaxInactiveInterval(paramInt);
    }

    public int getMaxInactiveInterval() {
        return httpSession.getMaxInactiveInterval();
    }

    public Object getAttribute(String paramString) {
        return httpSession.getAttribute(paramString);
    }

    public Enumeration getAttributeNames() {
        return httpSession.getAttributeNames();
    }

    public void setAttribute(String paramString, Object paramObject) {
        httpSession.setAttribute(paramString, paramObject);
    }

    public void removeAttribute(String paramString) {
        httpSession.removeAttribute(paramString);
    }

    public void invalidate() {
        httpSession.invalidate();
    }

    public boolean isNew() {
        return httpSession.isNew();
    }
}
